home *** CD-ROM | disk | FTP | other *** search
/ Die Ultimative Software-P…i Collection 1996 & 1997 / Die Ultimative Software-Pakete CD-ROM fur Atari Collection 1996 & 1997.iso / p / pov / povlisti.ngs / bog.pov < prev    next >
Encoding:
Text File  |  1994-06-07  |  8.1 KB  |  286 lines

  1. /*              STEERPIKE's WATER WRAITH  (c) 1994    
  2.  
  3. ATTRIBUTE THIS PLEASE!!!
  4.  
  5.     */
  6.  
  7. #include "colors.inc"
  8. #include "textures.inc"
  9. #include "shapes.inc"
  10. #include "shapes2.inc"
  11. //#include "camlight.inc"
  12. //#include "plant.inc"
  13. #include "plant1.inc"
  14. //#include "plant2.inc"
  15. #include "sword.inc"
  16. #include "helmet.inc"
  17. #include "guard.inc"
  18. //object {BrightLight1 scale <1, 1, 1> translate <-100, 190, -100>}
  19. //object {Light1 scale <1, 1, 1> translate <60, 30, -100>}
  20. //Just two lights   
  21. object{light_source{<-100,190,-100> color rgb<2.4,2.2,2.4>}}
  22. object{light_source{<-100,190,-100> color rgb<.85,.8,.8>}}
  23.  
  24. //These are the two red eyes. They were going to glow, hence inclusion with        
  25. // the lightsources
  26.       
  27.        sphere{<0,0,0>.02 pigment{color Red}finish{ambient .5}
  28.         translate<.52,2,1.25>}
  29.        sphere{<0,0,0>.02 pigment{color Red}finish{ambient .5}
  30.         translate<.64,2.02,1.25>}
  31.   
  32. camera {Camera1 translate<0,0,-2.5>rotate <0,25,0> translate <0, .5, 0>}
  33.  
  34.  
  35. //fog {color rgb<.3,.28,.3> distance 200} Include if you like. I didn't.
  36.  
  37. // Now come all the textures. Enjoy
  38. #declare Algae= texture{
  39.                 pigment{
  40.                 marble
  41.                 color_map{
  42.                 [0.1 color green .8 blue .7]
  43.                 [0.5 color green .45 blue .45]
  44.                 [0.6 color green .5 blue .55]
  45.                 [0.8 color red .1 green .6 blue .55]}
  46.                 turbulence .9
  47.                 octaves 3
  48.                 omega .3
  49.                 }
  50.                 finish{
  51.                 specular .7 roughness .005
  52.                 diffuse .2
  53.                 brilliance 1.5
  54.                 }
  55.        }
  56.  
  57.           // Green plantlike flesh with red veins in
  58.  
  59. #declare Veins1= texture{
  60.                 pigment{ marble color_map{
  61.                 [0.1 color DarkGreen]
  62.                 [0.2 color red .5 green .1 blue .2]
  63.                 [0.3 color red .5 green .1 blue .05]
  64.                 [0.37 color DarkGreen]}
  65.                 turbulence .75
  66.                 octaves 3
  67.                 omega .65
  68.                 }
  69.                 finish {diffuse .5 specular.2 roughness .01 brilliance 1}
  70.                 normal {wrinkles .7 turbulence .3 scale<.6,.6,.6>}
  71.                  scale <.2,.2,.2>}
  72.  
  73.  
  74.  
  75. #declare Bark1=  texture {pigment{color rgb<.56 .56 .4>}
  76.         normal {wrinkles .6 scale .15}
  77.         finish {crand .05}
  78.         scale <1,5,1>}
  79.  
  80.  
  81. #declare Mist=texture{
  82.                 pigment{
  83.                 marble
  84.                 color_map{
  85.                 [0.0 color Clear]
  86.                 [0.35 color Clear]
  87.                 [0.5 color rgbf<.75,.75,.75,.6>]
  88.                 [0.65 color Clear]
  89.                 }
  90.                 turbulence .9
  91.                 octaves 5
  92.                 omega .3
  93.                 }}
  94.  
  95.  
  96. #declare NightSky=texture{
  97.                 pigment{
  98.                 bozo
  99.                 color_map{
  100.                 [0.0 color rgb<.3,.3,.3>]
  101.                 [0.3 color rgb<0,0,.2>]
  102.                 [0.6 color rgb<.1,.1,.15>]
  103.                 [0.65 color rgb<.2,.23,.23>]
  104.                 [0.8 color rgb<.05,.05,0>]
  105.                 }
  106.                 turbulence 1
  107.                 octaves 2
  108.                 omega .1
  109.                 }scale<.3,.3,.3>}
  110.  
  111. #declare Liquid = 
  112.   texture 
  113.    {pigment{color rgb<.7,.75,.8> filter 0.99}
  114.     normal
  115.      {ripples 0.75
  116.       frequency 15
  117. //      phase (clock*3)*.01
  118.       turbulence .1
  119.      }
  120.     finish
  121.      {reflection 0.3
  122.       refraction 1
  123.       ior 1.33
  124.      }
  125.    }
  126.  
  127.  
  128. #declare Liquid3 = 
  129.   texture 
  130.    {pigment{color rgb<.9,.9,1> filter 0.99}
  131. //    normal
  132. //     {wrinkles 0.5
  133. //      turbulence .31          // After much deliberation decided against.
  134. //     scale <.15,.15,.15>}
  135.     finish
  136.      {reflection 0.1
  137.       refraction 1
  138.       ior 1.135
  139.      }
  140.    }
  141.  
  142.  
  143.  
  144. #declare Liquid1 = 
  145.   texture 
  146.    {pigment{color rgb<.8,.8,.7> filter 1}
  147.     normal
  148.      {ripples 0.95
  149.       frequency 20
  150.       phase (clock*3)*.01
  151.       turbulence .4
  152.      } 
  153.     finish
  154.      {reflection 0.3
  155.       refraction 1
  156.       ior 1.33
  157.      }
  158.    }
  159.  
  160.  
  161.  
  162. #declare Rok=texture{
  163.                 pigment{
  164.                 onion
  165.                 color_map{
  166.                 [0.0 color rgb<.4,.6,.3>]
  167.                 [0.3 color rgb<.6,.6,.6>]
  168.                 [0.5 color rgb<.6,.6,.6>]
  169.                 [0.6 color rgb<.45,.3,.6>]
  170.                 [0.75 color rgb<.3,.5,.2>]
  171.                 [0.9 color rgb<.7,.87,.7>]
  172.                 [0.99 color rgb<.6,.8,.6>]
  173.                 }
  174.                 turbulence 1
  175.                 octaves 4
  176.                 lambda 2
  177.                 omega .5}
  178.                 finish {Shiny}
  179.                 }
  180. #declare Rok1=texture{
  181.                 pigment{
  182.                 marble
  183.                 color_map{
  184.                 [0.0 color rgbf<1,1,1,1>]
  185.                 [0.45 color rgbf<1,1,1,1>]
  186.                 [0.55 color rgbf<.4,.4,.5,.25>]
  187.                 [0.7 color rgbf<.2,.2,.8,.3>]
  188.                 [0.9 color rgbf<.5,.2,.4,.4>]
  189.                 }
  190.                 turbulence .5
  191.                 octaves 2
  192.                 omega 2
  193.                 }
  194.                 }
  195.  
  196.  
  197.  
  198. //plane{z,4 texture{Rok} texture{Rok1}} NB mapping texture rok onto this
  199. //plane gave me the .tga for the heightfield.
  200. // This is the heightfield for the rocks in the bog
  201.  
  202. #declare Marsh=object{height_field{tga "Rok.tga"  smooth water_level .3} 
  203.                 texture{pigment{image_map{gif "slime.gif"}}
  204.                 finish{diffuse .6 specular.4 roughness .01}
  205.                 scale<.1,.1,.1>
  206.                 rotate <0,45,0>}
  207.                 translate<-.5,-.5,-.5>
  208.                 scale<40,2,20>
  209.                 }
  210.  
  211. //This is the Heightfield for the hills in the background. If you don't
  212. //Have plasma3.gif, it shoul be in the POV=ray include files
  213.  
  214. #declare Hills=object{height_field{gif "plasma3.gif" } 
  215.                 texture{pigment{color rgb<0,.08,.08>}
  216.                 finish{specular 0 diffuse 1 roughness .6 }}
  217.                 translate<-.5,-.5,-.5>
  218.                 rotate y*90
  219.                 rotate x*-20
  220.                 scale<70,20,20>
  221.                 translate<0,-3.5,40>
  222.                 rotate y*30}
  223.  
  224.  
  225.  
  226. object{Hills}
  227.  
  228. object{Marsh}
  229. object{Marsh translate<40,0,0>}
  230. //object{Marsh translate<-40,0,0>}
  231. object{Marsh translate<0,0,20>}
  232. object{Marsh translate<40,0,20>}      //I want more than one copy of the marsh rocks 
  233. //object{Marsh translate<-40,0,20>}   //since the field of view is so big.
  234. //object{Marsh translate<0,0,-20>}
  235. //object{Marsh translate<40,0,-20>}
  236. //object{Marsh translate<-40,0,-20>}
  237.  
  238. object{Marsh translate<80,0,0>}
  239. //object{Marsh translate<-80,0,0>}
  240. object{Marsh translate<0,0,40>}
  241. object{Marsh translate<80,0,40>}
  242. //object{Marsh translate<-80,0,40>}
  243. //object{Marsh translate<0,0,-40>}
  244. //object{Marsh translate<80,0,-40>}
  245. //object{Marsh translate<-80,0,-40>}
  246.  
  247. //This plane is the brown mud of the marsh
  248. plane{y,-.23 pigment{color rgb<.3,.3,.15>}}
  249. //This is the inch or so of water on the ground
  250. plane{y,-.17 texture{Liquid}}
  251. //YE OLDE SKYE SPHERE
  252. object{Sphere texture{NightSky} scale <250,250,250>}
  253. //The MIST
  254. plane{y,.1 texture{Mist scale<1,1,2> rotate y*4}}
  255.  
  256. //The Wraith. THANKS AGAIN TO BLOB10a
  257. object{Wraith scale<.8,.8,.8> translate<0,.8,1.5> rotate <0,25,0>
  258.                 texture{Liquid3}
  259.          /*       pigment{color Red} finish{Shiny}
  260.    normal
  261.     {wrinkles 0.5                  //Just for test purposes...
  262.      turbulence .1
  263.     scale <.1,.1,.1>}
  264.                 
  265.                 }   */
  266.   
  267. //The helmet and sword, of course...
  268.  
  269. object{Sword rotate<0,0,-82>scale<.08,.08,.08>translate<.17,1.42,1.1> rotate y*25}
  270. object{Helmet scale<.19,.19,.19>translate<0,2,1.35> rotate y*25}
  271.  
  272. // Plants, last of all
  273.  
  274. //#declare Algae=texture{pigment{color Red}}
  275.  
  276. object{plant1 texture{Veins1} scale<.05,.25,.05> rotate<10,60,0> 
  277.                 translate<1.7,-0.2,2> rotate y*25} 
  278.  
  279. object{plant1 texture{Algae} scale<.055,.25,.05> rotate<40,-10,10> 
  280.                 translate<-1,-0.2,1.7> rotate y*25} 
  281. object{plant1 texture{Algae} scale<.05,.05,.059> rotate<45,110,13> 
  282.                 translate<-.6,-0.2,.7> rotate y*25} 
  283.  
  284.                 
  285.